#define _CRT_SECURE_NO_WARNINGS 1
#include "list.h"
#include <list>

using namespace std;

int main()
{
	list<int> list1 = { 1,2,3,4,5 };
	list<int> list2({ 6,7,8,9,0 });
	for (int i : list1)
	{
		cout << i << " ";
	}
	cout << endl;
	for (int i : list2)
	{
		cout << i << " ";
	}
	cout << endl;
	return 0;
}